from . import __version__ as app_version

app_name = "zelin_wms"
app_title = "Storage Bin Management"
app_publisher = "szufisher"
app_description = "Storage Bin Management"
app_email = "yuxinyong@163.com"
app_license = "MIT"

#app_include_js = ["zelin_wms.bundle.js"]
doctype_js = {"Stock Entry" : "public/js/zelin_wms.js",
			  "Delivery Note" : "public/js/zelin_wms.js",
			  "Purchase Receipt" : "public/js/zelin_wms.js",
			  "Stock Reconciliation" : "public/js/zelin_wms.js"
			  }
			  
doc_events = {
	"Stock Entry": {
 		"on_submit": "zelin_wms.doc_events.update_warehouse_task",
		"on_cancel": "zelin_wms.doc_events.delete_draft_warehouse_task",
	},
	"Purchase Receipt": {
 		"on_submit": "zelin_wms.doc_events.update_warehouse_task",
		"on_cancel": "zelin_wms.doc_events.delete_draft_warehouse_task",
	},
    "Delivery Note": {
 		"on_submit": "zelin_wms.doc_events.update_warehouse_task",
		"on_cancel": "zelin_wms.doc_events.delete_draft_warehouse_task",
	},
	"Stock Reconciliation": {
 		"on_submit": "zelin_wms.doc_events.update_warehouse_task",
		"on_cancel": "zelin_wms.doc_events.delete_draft_warehouse_task",
	}
}